Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Attempted to fix #39
However, there are two issues:
LoaderContent
andChildContent
, where the first is what is shown while loading and the latter while not loading. This means that we have to move any input fields outside of ourMudLoading
component if we want to show it all the time (such as input fields, otherwise they will "reload" on input change). I am not a stylist/webdesigner, so this also means some of our pages changes slightly, see screenshots below.MudTable
in ourUserTable
after I "pulled" the input field outside theMudTable
in order to not have this reload every time we search for something, but after searching for a user it ends up being stuck on the loading icon. Likely, this is because of theServerData
not working with the input field outside or something along those lines, but I did not have more time to investigate this.I like that we can add the loading content thing "prettier" and an if-statement, but I don't think it saves us any complexity. With the below changes in mind, and the differences in code from the previous versions and this, I suggest we consider whether we want to pursue this further. Consider this a quick proof of concept (even though it does not prove 100%), and feel more than free to scratch it if you don't think it adds the right value.
Changes
Our Statistics page changed from:
To:
Our Manage User page changed from:
To:
(And still does not work)